package handler

import (
	"github.com/kataras/iris"
)

func NewApp() *iris.Application {
	app := iris.New()
	//app.Handle("POST", "/register", register)
	v1 := app.Party("/v1")
	{
		v1.Post("/risk_assessment", Executor{}.executor)
	}
	return app
}
